home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / source / lib / chunky_lib.lha / Chunky / FillChunky32Z.ass < prev    next >
Encoding:
Text File  |  2000-12-07  |  315 b   |  20 lines

  1. ; FillChunky32Z(dst:a0:PTR TO chunky,colour:d0:LONG,z:fp0:F)
  2.  
  3.     machine    mc68020
  4.     fpu    1
  5.  
  6.     xdef    _FillChunky32Z
  7. _FillChunky32Z
  8.     move.l    d2,-(a7)
  9.     fmove.s    fp0,d1
  10.     move.l    (4,a0),d2
  11.     muls.l    (a0),d2
  12.     move.l    (8,a0),a1
  13.     move.l    (12,a0),a0
  14. .loop    move.l    d0,(a1)+
  15.     move.l    d1,(a0)+
  16.     subq.l    #1,d2
  17.     bgt.s    .loop
  18.     move.l    (a7)+,d2
  19.     rts
  20.